﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucHostTour.ascx.cs"
    Inherits="Indochinaodyssey.UserControl.Tour.ucHostTour" %>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetByHostTour"
        TypeName="IOBusiness.clsBSTour"></asp:ObjectDataSource>
    <asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource1" Width="100%">
        <ItemTemplate>
            <table width="100%">
                <tr>
                    <td colspan="2">
                        <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl='<%# "~/TourDetail.aspx?id="+Eval("Id") %>'
                            Text='<%# Eval("TieuDe") %>'></asp:LinkButton>
                    </td>
                </tr>
                <tr>
                    <td height="100px" width="100px">
                        <asp:ImageButton ID="ImageButton1" runat="server" Height="100px" ImageUrl='<%# "~/Images/HinhAnh/"+Eval("HinhAnh") %>'
                            PostBackUrl='<%# "~/TourDetail.aspx?id="+Eval("Id") %>' Width="100px" />
                    </td>
                    <td valign="top">
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("GhiChu") %>'></asp:Label>
                    </td>
                </tr>
            </table>
            <br />
        </ItemTemplate>
    </asp:DataList>
